﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SaleStockMgr.aspx.cs" Inherits="SaleStockMgr" %>

<%@ Register Assembly="YYWebControl" Namespace="YYWebControl.YYSimpleCalendar" TagPrefix="YYWebControl" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>库存信息管理</title>
    <LINK href="css/hfmanger.css" type="text/css" rel="stylesheet">




</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table  width="100%">
            <tr>
                <td align="left" class="toolbar" colspan="3" style="height: 23px" valign="middle">
                    <asp:Image ID="Image1" runat="server" ImageUrl="images/rss_2.gif" /><strong>库存信息管理</strong></td>
            </tr>
            <tr>
                <td align="left" colspan="3" style="height: 15px" valign="middle">
                </td>
            </tr>
            <tr>
            <td align=center><table style="width:98%">
                <td align="left" class="listContent" colspan="3" style="height: 23px" valign="middle">
                    &nbsp;
                    <asp:RadioButton ID="rbtCode" runat="server" Checked="True" EnableViewState="False"
                                        GroupName="1" meta:resourcekey="RadioButton1Resource1" Text="编号" />
                                    <asp:RadioButton ID="rbtCaption" runat="server" GroupName="1" meta:resourcekey="RadioButton2Resource1"
                                        Text="名称" />
                                    <asp:TextBox ID="tbxSearch" runat="server" meta:resourcekey="TextBox5Resource1"></asp:TextBox>
                                    <asp:Button ID="btnSearch" runat="server" meta:resourcekey="Button1Resource2" OnClick="btnSearch_Click"
                                        Text="查询" CssClass="btn" /></td>
                    </table>
                    </td>
            </tr>
            <tr>
                <td colspan="3" align=center>
                <table style="width:98%"><tr><td class="listContent">
                    <asp:GridView ID="gvSaleStock" runat="server" AutoGenerateColumns="False" CellPadding="4"
                        ForeColor="#333333" GridLines="Horizontal" PageSize="20" DataKeyNames="Product_Code" EmptyDataText="没有数据!">
                        <FooterStyle BackColor="Black" Font-Bold="True" ForeColor="Black" />
                        <Columns>
                            <asp:HyperLinkField DataNavigateUrlFields="Product_Code" DataNavigateUrlFormatString="ProductEdit.aspx?Product_Code={0}&amp;state=edit"
                                DataTextField="Product_Code" HeaderText="产品编号" Target="_blank">
                                <ItemStyle Width="150px" />
                            </asp:HyperLinkField>
                            <asp:BoundField DataField="Product_Caption" HeaderText="产品名称">
                                <ItemStyle Width="200px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Product_Type" HeaderText="型号">
                                <ItemStyle Width="200px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Product_Unit" HeaderText="单位">
                                <ItemStyle Width="150px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Stk_Num" HeaderText="库存数量">
                                <ItemStyle Width="90px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Stk_yzNum" HeaderText="预占数量">
                                <ItemStyle Width="90px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Stk_kyNum" HeaderText="可用数量">
                                <ItemStyle Width="90px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Product_Price" HeaderText="单价">
                                <ItemStyle Width="100px" />
                            </asp:BoundField>
                            <asp:HyperLinkField DataNavigateUrlFields="Product_Code" DataNavigateUrlFormatString="ProductEdit.aspx?Product_Code={0}&amp;state=edit"
                                HeaderText="操作" Target="_blank" Text="详细">
                                <ItemStyle Width="100px" />
                            </asp:HyperLinkField>
                        </Columns>
                        <RowStyle BackColor="#EFF3FB" />
                        <EditRowStyle BackColor="#2461BF" />
                        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                        <PagerStyle ForeColor="Black" HorizontalAlign="Center" />
                        <HeaderStyle Font-Bold="True" ForeColor="Black" CssClass="gridHead" HorizontalAlign="Left" />
                        <AlternatingRowStyle BackColor="White" />
                    </asp:GridView></td></tr></table>
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>

</html>
